package data

import (
	"core/class"
	"ht/selfreg"
	"reflect"
)

type HtMenuInsertQto struct {
	Id int64 `json:"id,string"                         gorm:"column:id;primaryKey;comment:主键;autoIncrement:false;"`

	HtplatId int64  `json:"htplatId,string"                    gorm:"column:htplat_id;DEFAULT:0;not null;comment:平台编号;"`
	Lx       string `json:"lx"           validate:"max=10"   gorm:"column:lx;size:10;DEFAULT:'';not null;comment:类型;memo:目录、菜单、权限;"`
}

func init() {
	var mcls = &HtMenuInsertQto{}
	var m = &class.MyClass{
		Name:     "菜单添加Qto",
		Ename:    "",
		FullName: "",
		Memo:     "",
		Fileds:   nil,
		PrjName:  "",
		Type:     reflect.TypeOf(mcls),
	}
	selfreg.AddDto(m)
}
